package com.ruoyi.system.mapper;

import com.ruoyi.system.domain.SysPost;
import com.ruoyi.system.domain.TestCourse;

import java.util.List;

/**
 * 岗位信息 数据层
 * 
 * @author ruoyi
 */
public interface TestCourseMapper
{
   /*查询课程数据集合*/
    public List<TestCourse> selectCourseList(TestCourse course);

    /*查询所有列表*/
    public List<TestCourse> selectCourseAll();

   /*通过id查询课程*/
    public TestCourse selectCourseById(Long courseId);

    /*删除岗位信息*/
    public int deleteCourseById(Long courseId);

    /*批量删除
    * */
 //还没改
    public int deleteCourseByIds(Long[] courseIds);

    /*修改*/
    public int updateCourse(TestCourse course);

    /*增加*/
    public int insertCourse(TestCourse course);

   /*校验名称*/
    public TestCourse checkCourseNameUnique(String courseName);

    /*校验编码*/
    public TestCourse checkCourseCodeUnique(String courseCode);
}
